package com.zn.service;

import com.zn.entity.AppCustomer;
import com.zn.entity.CustomerMessageRecord;
import com.zn.web.dto.AppCustomerDto;

import java.util.List;

/**
 * Created by yinjiawei on 2018/8/2.
 */
public interface AppCustomerService {
    AppCustomer selectByPrimaryKey(String customerId);

    /**
     * 分页查询所有
     * @param record
     * @return
     */
    List<CustomerMessageRecord> findCustomerMessageRecordAll(AppCustomerDto record);
    int findCustomerMessageRecordCount(CustomerMessageRecord record);

    int saveCustomerMessageRecord(CustomerMessageRecord record);

    int updateSsqContractId(AppCustomer appCustomer);
}
